package edu.hit.RESP;

public class SimpleString implements RespData{

    private String value;

    public SimpleString(String value) {
        this.value = value;
    }

    @Override
    public Object getValue() {
        return this.value;
    }

    @Override
    public String convert() {
        return "+" + value + "\r\n";
    }

    @Override
    public String getType() {
        return "edu.hit.RESP.SimpleString";
    }
}
